package com.itany.corejava.day17;

import com.itany.corejava.day07.菜单;

import java.util.Arrays;

public class Test1 {

    @SuppressWarnings({"all"})
    public static void main(String[] args) {

//        菜单 c= (菜单) ObjectFactory.getObject("老厨师");
        菜单 c= (菜单) ObjectFactory.getObject("新厨师");

        c.烧肉();



        int i;





    }
}
